package net.ericaro.neojavagen.types;

/**
 * <b>ArrayType</b> ::= <{@link net .ericaro .neojavagen .types .Type Type}> "[" "]"
 * 
 * @author eric@ericaro.net
 */
public class ArrayType extends net.ericaro.neojavagen.JavaPartComposition implements net.ericaro.neojavagen.types.ReferenceType {
	private net.ericaro.neojavagen.types.Type type;

	public ArrayType(net.ericaro.neojavagen.types.Type type) {
		super();
		this.type = type;
	}

	public net.ericaro.neojavagen.types.Type getType() {
		return type;
	}

	public void setType(net.ericaro.neojavagen.types.Type type) {
		this.type = type;
	}

	@Override
	public java.lang.String toString() {
		return print(type, "[", "]");
	}
}
